#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Project : chansimulator
# @Time    : 2020/11/4 23:28
# @Author  : wp
# @File    : Service.py
# @Software: PyCharm

class Service:
    def __init__(self, x, y):
        self.x = x
        self.y = y
        self.name = "svc00{:0>2d}00{:0>2d}".format(x, y)
        self.svccode = "00{:0>2d}00{:0>2d}".format(x, y)
    def __repr__(self):
        # return str(self.__dict__)
        return str(self.svccode)

if __name__ == '__main__':
    aa=Service(3,3)
    print(aa)
